﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Windows.Interactivity;
using ESRI.ArcGIS.Client;
using ESRI.ArcGIS.Client.Geometry;
using ESRI.ArcGIS.Client.Actions;

namespace Eaglight.Actions
{
    public class DisplayCoordinatesAction: MeasureAction
    {
        protected override void OnTargetChanged(Map oldTarget, Map newTarget)
        {
            base.OnTargetChanged(oldTarget, newTarget);
            TargetObject = newTarget;
        }
    }
}
